<?php
namespace GrouppaGroup;
class Task
{
    /**
     * name of the task
     * @var string
     */
    public $name;
    /**
     * username of author of the task
     * @var string
     */
    public $author;
    /**
     * date of adding the task
     * @var DateTime
     */
    public $dateAdded;
    /**
     * date when task should be started
     * @var DateTime
     */
    public $dateStart;
    /**
     * date of deadline of the task
     * @var DateTime
     */
    public $deadline;
    /**
     * hours spent on that task
     * @var float
     */
    public $hoursSpent;
    /**
     * id of the task
     * @var integer
     */
    public $id;
}
